package com.winit.schedule.job.tracker.repository.mysql.dao;

import java.util.List;

import com.winit.schedule.core.repository.entity.LogEntity;
import com.winit.schedule.core.repository.query.LogQuery;
import com.winit.schedule.job.tracker.repository.mysql.plugin.SearchRequest;

public interface MysqlLogDao {

    void saveLog(LogEntity entity);

    List<LogEntity> getLogById(String jobId);

    List<LogEntity> queryLogPage(SearchRequest<LogQuery> search);

    long queryLogPageCount(LogQuery query);
    
    int deleteLogByLogtime(long logTime);
    
}
